package com.newbie.pet.dao;

import com.newbie.pet.model.ShopEntity;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * 类描述：TODO
 *
 * @author zhangkailiang
 * @date 2020/5/20
 */
public interface ShopRepository extends JpaRepository<ShopEntity, Long> {

    /**
     * 根据商户名称查询
     */
    List<ShopEntity> findByShopNameBefore(String shopName);
}

